import { defineStore } from 'pinia'

export const useAppStore = defineStore('app', {
  state: () => ({
    keyboardHeight: 0
  }),

  getters: {
    keyboardHeight: (state) => {
      return state.keyboardHeight
    }
  },

  actions: {
    addKeyboardHeight(keyboardHeight) {
      this.keyboardHeight = keyboardHeight
    }
  }
}) 